package com.ruitu.router_module;

import com.ruitu.router_module.bean.User;
import com.ruitu.router_module.bean.app.Area;
import com.ruitu.router_module.bean.product.ProHome;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by  on 2018/4/18.
 */

public class AppHolder {
    public AppHolder() {
    }

    private static AppHolder appHolder = new AppHolder();

    public static AppHolder instance() {
        return appHolder;
    }

    private User user;

    private Area CITY;//城市

    private List<ProHome> globalProList = new ArrayList<>();//全局推荐的商品列表

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Area getCITY() {
        return CITY;
    }

    public void setCITY(Area CITY) {
        this.CITY = CITY;
    }

    public List<ProHome> getGlobalProList() {
        return globalProList;
    }

    public void setGlobalProList(List<ProHome> globalProList) {
        this.globalProList = globalProList;
    }
}
